export default {
    url: "/bpm/report/list",
    method: "GET",
    name: "查询报表列表",
    desc: `得到报表的所有分类和报表，并整理成树形结构，返回的第一层为报表分类，第二层为报表列表
    `,
    req:[
    ],
    resp:[
        {
            en: "id",
            cn: "分类ID",
            type:"string"
        },
        {
            en: "text",
            cn: "分类名",
            type:"string"
        },
        {
            en: "pid",
            cn: "该分类的父级分类ID，因系统只支持一级分类，所以暂时无实际意义",
            type:"string"
        },
        {
            en: "children",
            cn: "该分类下的报表",
            type: "object[]",
            children:[
                {
                    en: "id",
                    cn:"报表ID",
                    type:"string"
                },
                {
                    en: "text",
                    cn: "报表名",
                    type: "string"
                },
                {
                    en: "type",
                    cn: "类型，cat为分类，report为报表",
                    type:"string"
                }
            ]
        },
        {
            en: "type",
            cn: "类型，cat为分类，report为报表",
            type:"string"
        }
    ],
    respEg: {"success":true,"errMessage":"","data":[{"children":[{"id":"5dca058ff1052946f715a9a3","pid":"5dc9272e876bc521ddc0aab3","type":"report","text":"tttt34"},{"id":"5dcf570bb15a0d4b2dc569ec","pid":"5dc9272e876bc521ddc0aab3","type":"report","text":"出差统计表"},{"id":"5dcf5981b15a0d4b2dc56adc","pid":"5dc9272e876bc521ddc0aab3","type":"report","text":"任务分配表"},{"id":"5dd39f56b15a0d4b2dc578c3","pid":"5dc9272e876bc521ddc0aab3","type":"report","text":"督办报表"},{"id":"5dd8e151e58cbc72cf593060","pid":"5dc9272e876bc521ddc0aab3","type":"report","text":"出差申请统计表"}],"id":"5dc9272e876bc521ddc0aab3","text":"测试","type":"cat"},{"children":[],"id":"5e01b3b3246964039d3dc4c3","text":"新分类","type":"cat"},{"children":[],"id":"5e01b3c8246964039d3dc4c7","text":"新分类","type":"cat"}]},
}